package org.maggioni.springsandbox.rehearsals.e02annotation.e03stereotypes;

import org.maggioni.springsandbox.model.decorators.Showable;
import org.maggioni.springsandbox.model.draw.Point;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MyBean extends Showable {
	
	private Point point;

	@Override
	public String toString() {
		return "MyBean [point=" + point + "]";
	}

	public Point getPoint() {
		return point;
	}

	@Autowired
	public void setPoint(Point point) {
		this.point = point;
	}

	

}
